import type { Router } from 'vue-router'
import setupTransitionGuard from './transition'
import setupDynamicRouteGuard from './dynamicRoute'

export default function createRouteGuard(router: Router) {
  setupTransitionGuard(router)
  setupDynamicRouteGuard(router)
}
